package com.jackie.setting

import androidx.annotation.DrawableRes
import androidx.annotation.StringRes

class SettingsItem(
    // 限制只传图片资源ID
    @DrawableRes val icon: Int,
    // 限制只传String资源ID
    @StringRes val name: Int,
    var des: String? = null,
    // 限制只传已经定义了的类型
    @SettingsAdapter.Companion.SettingType
    val type: Int = SettingsAdapter.NORMAL_TYPE
) {

}